using Vin.Tool.Attributes;
using Vin.Tool.Enums;

namespace Vin.Extension.Win32.Command.Process;

[Model(Lifetime = Lifetime.Singleton)]
public class ProcessContext : IProcessContext
{
    /// <summary>
    /// 窗口句柄
    /// </summary>
    public IntPtr WindowHandle { get; set; } = IntPtr.Zero;

    /// <summary>
    /// 上次聚焦的窗口句柄
    /// </summary>
    public IntPtr PrevFocusWindowHandle { get; set; } = IntPtr.Zero;
}